package com.atwulidun.facade09;

public class FacadeDemo {
    public static void main(String[] args) {
        HomeTheatreFacade homeTheatreFacade = new HomeTheatreFacade();
        // 准备
        System.out.println("准备");
        homeTheatreFacade.ready();
        // 播放
        System.out.println("播放");
        homeTheatreFacade.play();
        // 暂停
        System.out.println("暂停");
        homeTheatreFacade.pause();
        // 结束
        System.out.println("结束");
        homeTheatreFacade.end();
    }
}
